﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrBestSeller_Homepage.ascx.cs"
    Inherits="Controls_Products_ctrBestSeller_Homepage" %>

    <div>
        <div>
            <asp:HyperLink ID="lnkBestSeller" runat="server"></asp:HyperLink>
        </div>
        
        <asp:Repeater ID="rptProduct" runat="server" OnItemDataBound="rptProduct_ItemDataBound" OnItemCommand="rptProduct_ItemCommand">
            <ItemTemplate>
                <table>

                    <tr>
                        <td style="padding-right: 5px">
                           <asp:ImageButton runat="server" ID="btnProductImage" BorderColor="#A9A8A4" BorderWidth="1px" CommandName="image" Width="60px" />
                        </td>
                        <td>
                            <asp:HyperLink runat="server" ID="lnkProductName" Font-Bold="true"></asp:HyperLink><br />
                            <asp:Label ID="lblCode" runat="server"></asp:Label>
                            <asp:LinkButton runat="server" ID="lnkAddCart" CommandName="addcart" ></asp:LinkButton><br />
                            <asp:Label runat="server" ID="lblPrice"></asp:Label>
                        </td>
                    </tr>

                </table>
            </ItemTemplate>
        </asp:Repeater>
    </div>

